
Ext.define("OrderConvert.view.log.SysLog",{
    extend: "Ext.grid.Panel",

    requires: [
        "OrderConvert.view.log.SysLogController",
        "OrderConvert.view.log.SysLogModel"
    ],
    bind: '{sysLogStore}',
    alias : 'widget.syslog',

    controller: "log-syslog",
    viewModel: {
        type: "log-syslog"
    },

    columns : [
        { text: '编号', dataIndex: 'LOG_ID', flex: 1 },
        { text: '服务器IP', dataIndex: 'GN_TYPE', flex: 1 },
        { text: '日志生成时间', dataIndex: 'CZ_FILENAME', flex: 1 }
    ],

    dockedItems: [{
        xtype: 'pagingtoolbar',
        bind: {
            store: '{sysLogStore}'
        },
        dock: 'bottom',
        displayInfo: true
    }]
});
